C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / CanSort Method / CanSort<T>(IDataCollection<T>,String,SortDirection) Method
The data collection.
The path of the data item to which the sort would be applied.
Whether the sort is ascending or descending.

In This Topic
CanSort<T>(IDataCollection<T>,String,SortDirection) Method
In This Topic
Returns true if the data collection supports sorting.
Syntax
'Declaration
 
Public Overloads Shared Function CanSort(Of T As Class)( _
   ByVal dataCollection As IDataCollection(Of T), _
   ByVal sortPath As String, _
   ByVal direction As SortDirection _
) As Boolean
 

Parameters

dataCollection
The data collection.
sortPath
The path of the data item to which the sort would be applied.
direction
Whether the sort is ascending or descending.

Type Parameters

T
See Also